package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.entity.Teachers;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
public interface TeaMapper {
    int add(Teachers teachers);

    int delete(Long tid);

    int update(Teachers teachers);

    Teachers get(Long tid);

    List<Teachers> getList(Teachers teachers);
}
